package cn.flying.cloud.gateway.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 内部调用认证的客户端信息
 *
 * @author: admin
 * @date: 2024年04月23日 21:57
 * @version: 1.0
 */
@Component
@ConfigurationProperties(prefix = "security.oauth")
public class CustomOauthClientProperties {

    private String clientId;
    private String clientSecret;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }
}
